home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / devel / vbcc-src / datatypes / dtswap32t.c < prev    next >
Text File  |  1999-01-01  |  176b  |  14 lines

  1. from)
  2. {
  3.   DTFTYPE to;
  4.   unsigned char *fp=((unsigned char *)&from)+3,*tp=(unsigned char *)&to;
  5.   *tp++=*fp--;
  6.   *tp++=*fp--;
  7.   *tp++=*fp--;
  8.   *tp++=*fp--;
  9.   return to;
  10. }
  11.  
  12.       
  13.  
  14.